package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbCategory;
import com.example.ymm.modules1.query.DbCategoryQueryCriteria;

import java.util.List;

public interface DbCategoryService extends BaseService<DbCategory> {


    TableList<DbCategory> list(DbCategoryQueryCriteria criteria, YmPageDto ymPage);

    List<DbCategory> queryAll(DbCategoryQueryCriteria criteria);

    DbCategory findByCategoryName(String categoryName);

}
